home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / May 89 / U0048-Re DoChoice problem-May89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.1 KB  |  28 lines  |  [TEXT/GEOL]

  1. Item    8433648                         21-May-89        23:00
  2.  
  3. From:   D2215                           Dac SW, Wilma Blair, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Re: DoChoice problem
  8.  
  9. As MacApp currently stands, one cannot close a modeless dialog set up as "free
  10. on closing" from DoChoice (like pressing the Accept button) without crashing.
  11.  
  12. This seems a glaring omission and I for one need this capability.
  13.  
  14. It would be preferable to bite the bullet and modify DoChoice to return a
  15. command.  This has several other advantages as outlined in other threads.
  16.  
  17. As a clumsy alternative (and we must live with this for a long time), a method
  18. could be added to TApplication that would add a dialog to a list of dialogs
  19. that would be freed during DoIdle.  DoChoice could be used to close the dialog
  20. with no problems.  The idle frequency would not have to be set so high as if
  21. DoIdle were responsible for closing the dialog. The dialog would have to be set
  22. up as "dont free on closing" to do this.
  23.  
  24. I hope some others feel strongly enough about this to push for the TCommand
  25. option.  Regards, Les Caudle
  26.  
  27.  
  28.